package cn.breeze.order.service;

import cn.breeze.basic.dto.HandlerMsgDto;
import cn.breeze.basic.dto.HandlerServeDto;
import cn.breeze.order.domain.OrderProduct;
import cn.breeze.basic.service.IBaseService;
import cn.breeze.order.dto.ConfirmOrderDto;
import org.apache.catalina.servlet4preview.http.HttpServletRequest;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author breeze
 * @since 2022-07-21
 */
public interface IOrderProductService extends IBaseService<OrderProduct> {

    void save(OrderProduct orderProduct, HttpServletRequest request);

    // 店铺员工接单
    void accept(HandlerServeDto handlerServeDto);
    // 店铺员工拒绝接单
    void reject(Long id);
    // 确认订单
    void goConfirm(ConfirmOrderDto confirmOrderDto);
    // 取消订单
    void cancel(Long id);
}
